<?php

msg("In handler: image");

function generateMessage($msg) {
	msg("media id is " . $msg->message['MediaId']);
	msg("pic url is " . $msg->message['PicUrl']);
	return array(
			'Content' => "[img]" . $msg->message['PicUrl'] . "?MediaId=" . $msg->message['MediaId'] . "&msgtype=image[/img]",
			'subject' => "图片问题",
	);
}


require './handlers/message_common.php';

?>
